import { BinaryDecision } from "framework/FSM/DecisionTree/Decision";
 
/**
 * 爬使用任务模式
 */
export class DecisionIsCreepTaskMode <T extends IStateArg<Creep >> extends BinaryDecision<T>
{


    public testValue(arg:T): boolean
    {
        return arg.entity.memory.taskid && !arg.entity.memory.teamid?true:false
    }

    value: any;


    public setValue(val: any)
    {
        this.value = val;
    }
}

